Conversation
|
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
| 'django.middleware.gzip.GZipMiddleware', | ||
| 'common.middleware.static_headers_middleware.StaticHeadersMiddleware', | ||
| 'common.middleware.cross_domain_middleware.CrossDomainMiddleware' | ||
|
|
There was a problem hiding this comment.
There is no issue with the provided code snippet. The addition of django.middleware.gzip.GZipMiddleware to the middleware list ensures that gzip compression can be applied across all responses returned by Django, which could improve performance for users downloading content over HTTP/1 instead of HTTP/2 on some browsers or devices. No additional improvements are necessary as this change does not introduce any bugs or inconsistencies in the middleware stack.
|
Try to fix #2410 |
perf: enable gzip.